//-----------------------------------------------------------------------
// <copyright file="a_SEO_SettingService.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.Collections;
using ThoiTrang.Entities;
using ThoiTrang.Data;
    
namespace ThoiTrang.Business
{   
	/// <summary>
	/// 
	/// </summary> 
    public class a_SEO_SettingService
    {
        #region a_SEO_Setting

        public static void Createa_SEO_Setting(a_SEO_Setting a_SEO_Setting)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                a_SEO_SettingDAO.Createa_SEO_Setting(a_SEO_Setting);
            }            
            catch (Exception ex)
            {                
                throw ex;
            }
        }        

        public static void Updatea_SEO_Setting(a_SEO_Setting a_SEO_Setting)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                a_SEO_SettingDAO.Updatea_SEO_Setting(a_SEO_Setting);
            }           
            catch (Exception ex)
            {
                throw ex;
            }
        }        

        public static void Deletea_SEO_Setting(int sid)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                a_SEO_SettingDAO.Deletea_SEO_Setting(sid);
            }            
            catch (Exception ex)
            {
                throw ex;
            }
        }
        
        public static a_SEO_Setting Geta_SEO_Setting(int sid)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                return a_SEO_SettingDAO.Geta_SEO_Setting(sid);                
            }            
            catch (Exception ex)
            {
                throw ex;
            }
        }                

        public static a_SEO_SettingCollection Geta_SEO_SettingList(a_SEO_SettingColumns orderBy, OrderDirection orderDirection)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                return a_SEO_SettingDAO.Geta_SEO_SettingList(orderBy, orderDirection);
            }            
            catch (Exception ex)
            {
               throw ex;
            }
        }        

        public static a_SEO_SettingCollection Geta_SEO_SettingList(a_SEO_SettingColumns orderBy, OrderDirection orderDirection, int page, int pageSize, out int totalRecords)
        {            
            try
            {
                a_SEO_SettingDAO a_SEO_SettingDAO = new a_SEO_SettingDAO();
                return a_SEO_SettingDAO.Geta_SEO_SettingList(orderBy, orderDirection, page, pageSize, out totalRecords);
            }            
            catch (Exception ex)
            {
                throw ex;
            }
        }        

        #endregion
    }
}